<%@ page language="java" errorPage="/WEB-INF/common/exception.jsp" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>附件管理</title>
<script type="text/javascript">
//$(document).ready(function(){
//	var id = $("input[type='hidden'][name='vo.id']").val();
//	if($.trim(id)!=""){
//		$("input[type='text'][name='vo.code']").attr("disabled",true);
//	}
//});

function formSubmit(){
document.form1.submit();
}
</script>
</head>
<body>
<div class="main">
    <div class="subTitle">
        <h2><strong>附件管理</strong></h2>
    </div>
	<h3 class="subBoxTitle mT5"><c:if test="${empty id}">添加</c:if><c:if test="${not empty id}">修改</c:if></h3>
<form name="form1" action="<c:url value='/admin/system/sys-access/save.jhtml' />" method="post" onsubmit="return Validator.Validate(this,3);" enctype="multipart/form-data">
	<div class="ntable_mid mT10" >
        <table width="100%" class="nt_table">
            <tr>
                <td class="gray" height="40" align="right" ><font color="red">*</font>附件：</td>
                <td>
                	<input name="uploadFile" type="file" dataType="Require" msg="请选择要上传的附件"/>
	                <c:if test="${not empty sysAccess}">
	                	<img alt="附件" src="<c:url value='${sysAccess.path }' />" width="30" height="30" />
	                </c:if>
                </td>
            </tr>
             <tr>
                <td class="gray" width="10%" height="40" align="right" >备注：</td>
                <td colspan="3"><textarea name="vo.content" cols="80" rows="5" style="width: 100%;">${vo.content }</textarea></td>
            </tr>
        </table>
    </div>
    
	<div class="nbot_control mT10">
		<input type="hidden" name="vo.id" value="${id}" />
        <input id="save" type="submit" class="formBtn01" value="保 存" />&nbsp;&nbsp;&nbsp;&nbsp;
		<input id="back" type="button" class="formBtn02" value="关 闭" onclick="window.parent.window.$.weeboxs.close();" />
    </div>
</form>
</div>
</body>
</html>

